<?php 

$this->beginWidget('Block', array(
	'title' => CONSTANT::NAME_LIST,
));
$this->widget('lib.ext.ztree.zTree',array(

	'editUrl' => $this->createUrl('edit'),
	'delUrl' => $this->createUrl('delete'),
	'treeNodeNameKey' => $this->treeNodeNameKey,
	'setting'=>array(
  		'edit'=> array(
			'enable' => true,
			'editNameSelectAll' => true,
		),
  		'data'=> array(
			'simpleData' => array(
				'enable' => true,
			),
		),
  	),
	'model' => $model,
));
$this->endWidget();
?>
